//
//  songListTableViewCell.m
//  Gegeda_music_MY
//
//  Created by lanou3g on 15/11/9.
//  Copyright © 2015年 周莹. All rights reserved.
//

#import "songListTableViewCell.h"
#import "songListModel.h"
#import "UIImageView+WebCache.h"

@implementation songListTableViewCell

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

#pragma mark - cell赋值方法的实现
-(void)setCellDataWithModel:(songListModel *)model{
   // NSLog(@"+++++%@",model.title);
    
    
    //第三方图片
    [self.headerImageView sd_setImageWithURL:[NSURL URLWithString:model.albumCoverUrl290]];
    
    //NSLog(@"%@", self.MVimageView);
    self.titleLabel.text = model.title;
    //注意......数字类需要转化..
    self.playsCountsLabel.text = [NSString stringWithFormat:@"%@",model.playsCounts];
    self.tracksLabel.text = [NSString stringWithFormat:@"%@集", model.tracks];
    self.introLabel.text = model.intro;
}



@end
